package com.lagou.sqlSession;

import java.util.List;

public interface SqlSession {
    //查询所有
    public <E> List<E> selectList(String statementId,Object... params);
    //根据条件查询
    public <T> T selectOne(String statementId,Object... params);
    //DML
    public boolean execute(String statementId,Object... params);
    //为Dao接口生产代理实现类
    public <T> T getMapper(Class<?> mapperClass);
}
